package top.aigoo.project01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: 顾客消费的商品映射
 * @Author: Mr.OYSHUO.欧阳大叔  mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/9/21 17:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

public class UserProductMap {
    //主键id
    private Long userProductId;

    //private Long userId;
    //private Long productId;
    //private Long shopId;
    //private String userName;
    //private String productName;
    //创建时间
    private Date createTime;
    //消费商品所获得的积分
    private Integer point;
    //复合对象 顾客信息实体类
    private PersonInfo user;
    //商品信息实体类
    private Product product;
    //店铺信息实体类
    private Shop shop;
    //复合对象 操作员信息实体类
    private PersonInfo operator;
}
